package com.uenpay.oem.ui.reserver;

import android.view.View;

import com.uenpay.oem.R;
import com.uenpay.oem.common.RxBusEventConstant;
import com.uenpay.oem.ui.main.my.MyFragment;
import com.uenpay.util.app.base.BaseActivity;
import com.uenpay.util.rx.CommonEvent;
import com.uenpay.util.rx.RxBus;

import butterknife.OnClick;

/**
 * Created by PS on 2017/6/19.
 */

public class AddBankSucceedActivity extends BaseActivity {


    @Override
    public View bindView() {
        return null;
    }

    @Override
    public int bindLayout() {
        return R.layout.activity_addthanksucceed;
    }

    @Override
    public void initView(View view) {
        setTitle("添加银行卡");
    }
    @OnClick(R.id.btn_complete)
    public void complete(){
       // startActivity(new Intent(this, MainActivity.class));
        setResult(RESULT_OK);
        RxBus.$().post(MyFragment.TAG,new CommonEvent(RxBusEventConstant.EVENT_BANKCARD_CHANGE));
        finish();
    }
}
